#ifndef FK_PACKER_H
#define FK_PACKER_H

#include <QString>

#include "fkobjects_global.h"

class QByteArray;
class FKSystemObject;

namespace FKPacker{
    FKOBJECTSSHARED_EXPORT QByteArray pack(QString MessageType, FKSystemObject* obj);
    FKOBJECTSSHARED_EXPORT QString unpack(QByteArray arr, FKSystemObject* &container);
    const QString action("ac");
    const QString event("ev");
    const QString error("er");
    const QString message("m");
    const QString client("cl");
    const QString genClient("gcl");
    const QString clientRequest("clr");
    const QString file("f");
    const QString interruptFile("if");
}

#endif // FKPACKER_H
